﻿@model ElectronicDiary.Models.Teacher.CellValueViewModel

@if (Model.Type == "U")
{
    <td>
        @Html.HiddenFor(x => x.ID)
        @Html.DisplayFor(x => x.Value) 
    </td>
}
else
{
    <td>
        @Html.HiddenFor(x => x.ID)
        @Html.EditorFor(x => x.Value, new { style = "width:17px;" })
    </td>
}